package com.jic.veteran.portal.dao;

import com.jic.veteran.model.AlumniSchoolAddresslist;
import com.jic.veteran.portal.domain.AlumniStudentInfoChangeParam;
import com.jic.veteran.portal.domain.AlumniStudentParam;
import com.jic.veteran.portal.domain.DonationListDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigInteger;
import java.util.Date;
import java.util.List;

@Mapper
public interface AlumniStudnetDao {


    List<AlumniSchoolAddresslist> getStudnetsList(@Param("alumniStudentParam") AlumniStudentParam alumniStudentParam);


    int changeInfo(@Param("id") Integer id,
                   @Param("alumniStudentInfoChangeParam") AlumniStudentInfoChangeParam alumniStudentInfoChangeParam,
                   @Param("user") String user,
                   @Param("date") Date date);

    List<String> searchParam(@Param("type") Integer type);


    int changeAvatar(@Param("id") Integer id,
                   @Param("avatarUrl") String avatarUrl,
                   @Param("user") String user,
                   @Param("date") Date date);
}
